package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 家长对象 yy_patriarch
 *
 * @author ruoyi
 * @date 2024-05-17
 */
public class YyPatriarch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 家长姓名 */
    @Excel(name = "家长姓名")
    private String patriarchName;

    /** 学生id */
    @Excel(name = "学生id")
    private Long stuId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    private String pAccount;

    private String pPassword;

    private String stuName;

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getpAccount() {
        return pAccount;
    }

    public void setpAccount(String pAccount) {
        this.pAccount = pAccount;
    }

    public String getpPassword() {
        return pPassword;
    }

    public void setpPassword(String pPassword) {
        this.pPassword = pPassword;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPatriarchName(String patriarchName)
    {
        this.patriarchName = patriarchName;
    }

    public String getPatriarchName()
    {
        return patriarchName;
    }
    public void setStuId(Long stuId)
    {
        this.stuId = stuId;
    }

    public Long getStuId()
    {
        return stuId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("patriarchName", getPatriarchName())
            .append("stuId", getStuId())
            .append("userId", getUserId())
            .toString();
    }
}
